package revisao2;

public class Main {

	public static void main(String[] args) {
		
		Triangulo t = new Triangulo(3,8);
		
		Retangulo r = new Retangulo(4, 4);
		
		Quadrado q = new Quadrado(5);
		
		Circulo c = new Circulo(3);
		
		System.out.println("Area do triangulo : " + t.getArea());
		System.out.println("Area do retangulo : " + r.getArea());
		System.out.println("Area do quadrado  : " + q.getArea());
		System.out.println("Area do circulo   : " + c.getArea());
		
	}
}
